<td width="727"><table width="727" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td width="727" height="47" valign="top" background="img/bar_blue.jpg"><table width="727" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td width="10" height="47">&nbsp;</td>
                                        <td width="23" height="47"><img src="img/bar_flblue.jpg" width="23" height="23"></td>
                                        <td width="10" height="47">&nbsp;</td>
                                        <td height="47" class="tahoma12W"><strong> 
                                          <?php echo $lang['CONTENT_TITLE_HISTORY_TRANSACTION']; ?></strong></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <tr> 
                                  <td width="727" height="6" valign="top"><img src="img/spec_blank.gif" width="10" height="7"></td>
                                </tr>
                                <tr> 
                                  <td width="727" height="878" valign="top"  ><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td height="601" valign="top"  ><table width="100%" height="878" border="0" cellpadding="0" cellspacing="0">
                                            <tr> 
                                              <td height="763" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                 
                                                  <tr> 
                                                    <td width="10">&nbsp;</td>
                                                    <td align="left" valign="top" class="arial12G66">
														<?php
															
																	
																	$qTrans = "select * from transaction where status_nbepay='00' and modified_date is not null and
																				user_id = '$_SESSION[userlogin_id]' order by modified_date desc";
																	$rTrans = $db->sql_fetch($qTrans);
																	
																	
																	echo '<div id="cartDiv" >';																	
																	echo '<table width="100%"  cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #CCCCCC;">
																			<tr bgcolor="#F1F3EB" height="25">
																						<td width="50px" align="center" class="arial11P" style="border: 1px solid #CCCCCC;">'.$lang['FORM_TRANS_BIL'].'
																						</td>
																						<td width="120px" align="center" class="arial11P" style="border: 1px solid #CCCCCC;">'.$lang['FORM_TRANS_ORDERNO'].'
																						</td>
																						<td width="100px" align="center" class="arial11P" style="border: 1px solid #CCCCCC;">'.$lang['FORM_TRANS_TOTAL_QTY'].'
																						</td>
																						<td width="100px" align="center" class="arial11P" style="border: 1px solid #CCCCCC;">'.$lang['FORM_TRANS_TOTAL_ITEMS'].'
																						</td>
																						<td width="130px" align="center" class="arial11P" style="border: 1px solid #CCCCCC;">'.$lang['FORM_TRANS_DATEPAID'].'
																						</td>
																			</tr>';
																	$num =0;
																	foreach ($rTrans as $i) {
																		$num++;
																		echo '	
																			<tr>
																				<td width="50px" align="center" style="border: 1px solid #CCCCCC;" class="arial11P">
																					'.$num.'
																				</td>
																				<td width="120px" align="center" style="border: 1px solid #CCCCCC;" class="arial11P">
																					<a href="historytransaction_detail.php?tid='.$i[id].'" style="font-size:11; color:#003366; font-weight:bold; text-decoration:underline">
																						'.$i[order_no].'
																					</a>
																				</td>
																				<td width="100px" align="center" style="border: 1px solid #CCCCCC;" class="arial11P">
																					'.$i[total_item].'	
																				</td>
																				<td width="100px" align="center" style="border: 1px solid #CCCCCC;" class="arial11P">RM'.sprintf("%01.2f",$i[amount]).'
																				</td>
																				<td width="130px" align="center" style="border: 1px solid #CCCCCC;" class="arial11P">'.$i[paydate].'
																				</td>
																			</tr>';
																		
																	}
																	echo '</table>';
																	echo ' </div>';
																
																
														
														?>
													
                                                    </td>
                                                    <td width="10">&nbsp;</td>
                                                  </tr>
                                                  <tr> 
												  
                                                    <td width="10" height="10"></td>
                                                    <td height="10"></td>
                                                    <td width="10" height="10"></td>
                                                  </tr>
                                                </table></td>
												
                                            </tr>
                                          </table></td>
                                      </tr>
                                    </table></td>
                                </tr>
                              </table>